from django.db import models
from utils.models import CoreModel   


class UserTemplate(CoreModel):
    id = models.IntegerField(primary_key=True, help_text="用户模板", verbose_name="用户模板")
    template_id = models.IntegerField(null=True, blank=True, verbose_name='订货模板ID', help_text='订货模板ID')
    user_id = models.IntegerField(null=True, blank=True,  verbose_name='用户ID', help_text='用户ID')

    class Meta:
        db_table = 'user2template'
        verbose_name = '用户模板'
        verbose_name_plural = verbose_name
        ordering = ('-creation_on',)
    